package people;

import people.Person.UserType;

/**
 * The Doctor class; like a nurse but can do more stuff
 * @author Peter
 *
 * @version $Revision: 1.0 $
 */
public class Doctor extends Nurse{

	/**
	 * Constructor that creates a doctor
	 * @param fName - doctor's first name
	 * @param lName - doctor's last name
	 */
	public Doctor(String fName, String lName) {
		super(fName, lName);
		setPersonType(UserType.DOCTOR);
		MYLOGGER.info("In Doctor constructor");
	}

	/**
	 * Ideally a UI button,
	 * pulls up a section where lab report results are shown/displayed
	 */
	public void viewLabReport(){
		MYLOGGER.info("Doctor trying to view lab report");
		//pulls up lab report onto UI
	}
	
	/**
	 * Ideally a UI button,
	 * pulls up a section where the doctor can prescribe the patient medicine
	 */
	public void signRX(){
		MYLOGGER.info("Doctor is trying to sign RX");
		//pulls up prescription page on UI
	}
	
	/**
	 * Ideally a UI button,
	 * pulls up a section where the doctor can modify treatment details for the patient
	 */
	public void modifyTreatment(){
		MYLOGGER.info("Doctor is trying to modify treatment details");
		//pulls up treatment page on UI
	}
	
	/**
	 * Overrides the default toString method
	
	 * @return Doctor's name */
	public String toString(){
		return "Doctor: " + this.getFirstName() + " " + this.getLastName();
	}
}
